package fr.ajicommerce.core.service.implementation;

import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;

import fr.ajicommerce.core.dto.AdresseDTO;
import fr.ajicommerce.core.entities.Adresse;
import fr.ajicommerce.core.service.generics.GenericService;
import fr.ajicommerce.core.service.interfaces.AdresseService;

@Component("adresseServiceImpl")
@Transactional
public class AdresseServiceImpl extends
		GenericService<AdresseDTO, Adresse> implements AdresseService {

	public AdresseServiceImpl(Class<Adresse> clazzOfA,
			Class<AdresseDTO> entityClassT) {
		super(clazzOfA, entityClassT);
	}

	public AdresseServiceImpl() {
		super(Adresse.class, AdresseDTO.class);
	}

}
